<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>主页</title>
    <link rel="stylesheet" href="/css/bootstrap/bootstrap.min.css">
    <link rel="stylesheet" href="/css/AdminLTE.min.css">
    <link rel="stylesheet" href="/css/skins/skin-blue.min.css">
    <script src="/js/angular/angular.js"></script>
    <script src="/js/angular/angular-route.js"></script>
</head>
<body ng-app="myApp">

<div class="container">
    <div ng-include="'/view/main/top.html'"></div>
    <div ng-include="'/view/main/left.html'"></div>
    <div ng-view></div>
    <script src="/js/main/myApp.js"></script>
</div>


<script>
    angular.module('myApp',['ngRoute'])
            .config(['$routeProvider', function($routeProvider){
                $routeProvider
                        .when('/track-history',{
                            template:'这是首页页面'})
                        .when('/member',{
                            templateUrl:'/view/member/member.html'})
                        .when('/track-intime',{
                            template:'这是打印机页面'})
                        .otherwise({
                            redirectTo:'/'});
            }]);
</script>
</body>
</html>